<html>
<head>
<link href="assets/upload.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="assets/json2.js"></script>
<script type="text/javascript" src="assets/swfupload.js"></script>
<script type="text/javascript" src="assets/swfupload.queue.js"></script>
<script type="text/javascript" src="assets/myupload.js"></script>
<script type="text/javascript" src="assets/fileprogress.js"></script>
<script type="text/javascript" src="assets/handlers.js"></script>
<script type="text/javascript">
	<!--
	if (document.addEventListener) {
	  document.addEventListener('DOMContentLoaded', init, false);
	}
	window.onload = init;

	function init() {
	  if (!document.getElementById || !document.createElement || !arguments || arguments.callee._loaded) {
	    return;
	  }
	  arguments.callee._loaded = true;
	  
		new MyUpload('spanButtonPlaceHolder', 'upload.php', function() {
		  setImage();
		}, {
		  debug: 0,
		  file_size_limit: '300 Mb',                   // 10 Mb
		  file_queue_limit: 0,                         // 0
		  file_types: '*.jpg;*.jpeg;*.png;*.gif;',                  // '*.jpg;*.jpeg;*.png;*.gif;'
		  file_types_description: 'All Image Files',     // 'All Image Files'
		  post_params: {
		    query: JSON.stringify({ t: false })
		  },
		  button_image_url: 'assets/swf_button.png', 
		  width: 170,                                  // 94
		  height: 30,                                  // 26
		  is_file_uploading: 0                      // 1 or 0
		});
	};
	
function setImage() {
}
</script>
</head>

<body>

<div align="center" width="1000px" height="250px">

<div style="background: #313131; width: 940px; height: 180px; float: left;">
  <div style="margin-top: 25px;">
    <table cellpadding=0 cellspacing=0 width="888px" height="30px" >
      <tr>
        <td align="left"><span id="spanButtonPlaceHolder"></span></td>
        <td align="right">
          <input type="button"  value="" id="btnCancel" class="cancel_disabled" onclick="swfu.cancelQueue();" disabled="disabled"  />
        </td>
      </tr>
    </table>
  </div>
<div class="fieldset flash" id="fsUploadProgress"></div>
<div id="divStatus"></div>
</div>

</div>
</body>
</html>
